package com.zxtech.zzm.zxmonitorsocket

import com.google.gson.Gson
import java.io.Serializable

class SocketPackage : Serializable {
  var packageHead: String? = null//数据头
  var packageLength: String? = null //数据长度
  var packageType: String? = null//功能类型
  var packageSN: String? = null //序列号
  var packageContent: String? = null//数据

  override fun toString(): String {
    return Gson().toJson(this)
  }
}